﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iS3.DAL
{
    public interface IDGBase
    {
        DGEntityStruct LoadDesc();
        DataTable TransformToDataTable(IEnumerable list);
        List<TEntity> TransformToEntity<TEntity>(DataTable dataTable, DGEntityStruct inputStruct = null) where TEntity : DGBase, new();
        object GetValue(string propertyName);
        void SetValue(string propertyName, object data);
    }
}
